<template>
  <panel class="credit-life" title="信用生活">
    <div class="container">
      <div class="item">
        <div><i class="icon iconfont icon-education_icon"></i></div>
        <div class="content">
          <div class="title">教育分期</div>
          <div class="desc">最高可贷<em>16万</em></div>
        </div>
      </div>
      <div class="item">
        <div><i class="icon iconfont icon-meirong-heicopy"></i></div>
        <div class="content">
          <div class="title">医美分期</div>
          <div class="desc">最高可贷<em>15万</em></div>
        </div>
      </div>
    </div>
  </panel>
</template>

<script>
import Panel from '@/components/core/panel.vue'

export default {
  name: 'credit-life',
  components: {
    Panel
  }
}
</script>
<style lang="scss" scoped>
@import '~@/assets/css/element.scss';

.credit-life {
  .container {
    @include list(row);
    flex-wrap: wrap;
    .item {
      flex: 1;
      @include list(row);
      padding: 15px;
      .icon {
        font-size: 60px!important;
        line-height: 100px;
        text-align: center;
        padding: 0 20px;
      }
      .title {
        font-size: 35px;
        line-height: 50px;
        font-weight: 700;
        color: #666;
      }
      .desc {
        font-size: 30px;
        line-height: 50px;
        color: #999;
        em {
          color: #397BE6;
        }
      }
    }
  }
}
</style>
